from api.base_api import BaseAPI

class UserAPI(BaseAPI):
    def __init__(self, base_url):
        super().__init__(base_url)

    def get_user(self, user_id):
        return self.get(f"/users/{user_id}")

    def create_user(self, user_data):
        return self.post("/users", data=user_data)